<div class='cell'>

  <a class="user_avatar pull-left" href="/user/<%= topic.author.loginname %>">
    <img src="<%= topic.author.avatar_url %>"
         title="<%= topic.author.loginname %>"
            />
  </a>

  <span class="reply_count pull-left">
    <span class="schedule_userlabel" title="作者">
      <%= topic.author.loginname %>
    </span>
  </span>
  <!-- <%= topic.reply_count %> -->
  <!-- <%= topic.visit_count %> -->
  <!-- #TODO fill reply_count
  <span class="reply_count pull-left">
    <span class="count_of_replies" title="回复数">
      0
    </span>
    <span class="count_seperator">/</span>
    <span class="count_of_visits" title='点击数'>
      0
    </span>
  </span>
  -->
  <% if (topic.reply) {%>
  <a class='last_time pull-right' href="/modules/schedule/<%= topic._id %><%- '#' + topic.reply._id %>">
    <img class="user_small_avatar" src="<%= topic.reply.author.avatar_url %>">
    <span class="last_active_time"><%= topic.reply.friendly_create_at %></span>
  </a>
  <% } %>
  <% if (!topic.reply) {%>
    <span class='last_time pull-right'>
      <span class="last_active_time"><%= topic.friendly_create_at %></span>
    </span>
  <% } %>

  <div class="topic_title_wrapper">

    <%- partial('./_top_good', {topic: topic}) %>
    <% if (topic.eam_wo_status == 0 || topic.eam_wo_status == 3) {%>
        <span class='put_top'>待委派</span>
    <% } else if (topic.eam_wo_status == 1 || topic.eam_wo_status == 4) { %>
        <span class='put_top'>执行中</span>
    <% } else if (topic.eam_wo_status == 2 || topic.eam_wo_status == 5) { %>
        <span class='put_top'>已关闭</span>
    <% } %>
    <a class='topic_title' href='/modules/schedule/<%= topic._id %>' title='<%= topic.title %>'>
      <%= topic.schedule_id %> : <%= topic.name %>
    </a>
  </div>
</div>
